package com.pd.dao.util;

/**
 * Created by dong peng on 2018/3/31.
 */
public class DbUtil {

    private final static String READ = "READ";

    private final static String WRITE = "WRITE";


    public static void setRead() {
        DataSourceContextHold.setType(READ);
    }

    public static void setWrite() {
        DataSourceContextHold.setType(WRITE);
    }
}
